export const menu = [
  {
    "id": "select_all",
    "label": "全选",
    "url": "/security-settings",
    "icon": "lock",
    "pcode": "",
    "snumber": 0,
    "serialNumber": 0,
    "menuCodePath": "security_settings",
    "menuNamePath": "安全中心",
    "children": [
      {
        "id": "sys_manage",
        "label": "系统管理",
        "url": "",
        "icon": "component",
        "pcode": "",
        "snumber": 0,
        "serialNumber": 0,
        "menuCodePath": "sys_manage",
        "menuNamePath": "系统管理",
        "children": [
          {
            "id": "sys_log",
            "label": "系统日志",
            "url": "/system/log",
            "icon": "",
            "pcode": "sys_manage",
            "snumber": 0,
            "serialNumber": 0,
            "menuCodePath": "sys_manage/sys_log",
            "menuNamePath": "系统管理/系统日志",
            "children": null,
            "actionList": []
          },
          {
            "id": "sys_menu",
            "label": "菜单管理",
            "url": "/system/menu",
            "icon": "",
            "pcode": "sys_manage",
            "snumber": 0,
            "serialNumber": 0,
            "menuCodePath": "sys_manage/sys_menu",
            "menuNamePath": "系统管理/菜单管理",
            "children": null,
            "actionList": [
              {
                "actionCode": "sys_menu:add",
                "actionText": "添加"
              },
              {
                "actionCode": "sys_menu:update",
                "actionText": "修改"
              },
              {
                "actionCode": "sys_menu:delete",
                "actionText": "删除"
              }
            ]
          },
          {
            "id": "sys_dic",
            "label": "系统字典",
            "url": "/system/dic",
            "icon": "",
            "pcode": "sys_manage",
            "snumber": 0,
            "serialNumber": 0,
            "menuCodePath": "sys_manage/sys_dic",
            "menuNamePath": "系统管理/系统字典",
            "children": null,
            "actionList": [
              {
                "actionCode": "sys_dic:add",
                "actionText": "添加"
              },
              {
                "actionCode": "sys_dic:update",
                "actionText": "修改"
              },
              {
                "actionCode": "sys_dic:delete",
                "actionText": "删除"
              }
            ]
          },
          {
            "id": "sys_role",
            "label": "角色管理",
            "url": "/system/role",
            "icon": "",
            "pcode": "sys_manage",
            "snumber": 0,
            "serialNumber": 0,
            "menuCodePath": "sys_manage/sys_role",
            "menuNamePath": "系统管理/角色管理",
            "children": null,
            "actionList": [
              {
                "actionCode": "sys_role:add",
                "actionText": "添加"
              },
              {
                "actionCode": "sys_role:update",
                "actionText": "修改"
              },
              {
                "actionCode": "sys_role:delete",
                "actionText": "删除"
              }
            ]
          },
          {
            "id": "sys_dept",
            "label": "部门管理",
            "url": "/system/dept",
            "icon": "",
            "pcode": "sys_manage",
            "snumber": 0,
            "serialNumber": 0,
            "menuCodePath": "sys_manage/sys_dept",
            "menuNamePath": "系统管理/部门管理",
            "children": null,
            "actionList": [
              {
                "actionCode": "sys_dept:add",
                "actionText": "添加"
              },
              {
                "actionCode": "sys_dept:update",
                "actionText": "修改"
              },
              {
                "actionCode": "sys_dept:delete",
                "actionText": "删除"
              }
            ]
          },
          {
            "id": "sys_user",
            "label": "用户管理",
            "url": "/system/user",
            "icon": "",
            "pcode": "sys_manage",
            "snumber": 0,
            "serialNumber": 0,
            "menuCodePath": "sys_manage/sys_user",
            "menuNamePath": "系统管理/用户管理",
            "children": null,
            "actionList": [
              {
                "actionCode": "sys_user:add",
                "actionText": "添加"
              },
              {
                "actionCode": "sys_user:update",
                "actionText": "修改"
              },
              {
                "actionCode": "sys_user:delete",
                "actionText": "删除"
              },
              {
                "actionCode": "sys_user:export",
                "actionText": "导出"
              }
            ]
          },
          {
            "id": "sys_config",
            "label": "系统配置",
            "url": "/system/config",
            "icon": "",
            "pcode": "sys_manage",
            "snumber": 0,
            "serialNumber": 0,
            "menuCodePath": "sys_manage/sys_config",
            "menuNamePath": "系统管理/系统配置",
            "children": null,
            "actionList": [
              {
                "actionCode": "sys_config:add",
                "actionText": "添加"
              },
              {
                "actionCode": "sys_config:update",
                "actionText": "修改"
              },
              {
                "actionCode": "sys_config:delete",
                "actionText": "删除"
              }
            ]
          }
        ],
        "actionList": []
      },
      {
        "id": "sys_announcement",
        "label": "通知公告管理",
        "url": "",
        "icon": "message",
        "pcode": "",
        "snumber": 0,
        "serialNumber": 0,
        "menuCodePath": "sys_announcement",
        "menuNamePath": "通知公告管理",
        "children": [
          {
            "id": "announcement_manage",
            "label": "通知公告管理",
            "url": "/system/announcement/manage",
            "icon": "",
            "pcode": "sys_announcement",
            "snumber": 0,
            "serialNumber": 0,
            "menuCodePath": "sys_announcement/announcement_manage",
            "menuNamePath": "通知公告管理/通知公告管理",
            "children": [
              {
                "id": "tongzhi_manage",
                "label": "通知管理",
                "url": "/system/menu",
                "icon": "",
                "pcode": "sys_manage",
                "snumber": 0,
                "serialNumber": 0,
                "menuCodePath": "sys_manage/sys_menu",
                "menuNamePath": "系统管理/菜单管理",
                "children": null,
                "actionList": [
                  {
                    "actionCode": "tongzhi_manage:add",
                    "actionText": "添加"
                  },
                  {
                    "actionCode": "tongzhi_manage:update",
                    "actionText": "修改"
                  },
                  {
                    "actionCode": "tongzhi_manage:delete",
                    "actionText": "删除"
                  }
                ]
              },
            ],
            "actionList": [
              {
                "actionCode": "announcement_manage:add",
                "actionText": "添加"
              },
              {
                "actionCode": "announcement_manage:update",
                "actionText": "修改"
              },
              {
                "actionCode": "announcement_manage:delete",
                "actionText": "删除"
              },
              {
                "actionCode": "announcement_manage:publish",
                "actionText": "发布"
              },
              {
                "actionCode": "announcement_manage:back",
                "actionText": "撤回"
              }
            ]
          },
          {
            "id": "announcement_list",
            "label": "通知公告列表",
            "url": "/system/announcement",
            "icon": "",
            "pcode": "sys_announcement",
            "snumber": 0,
            "serialNumber": 0,
            "menuCodePath": "sys_announcement/announcement_list",
            "menuNamePath": "通知公告管理/通知公告列表",
            "children": null,
            "actionList": [
              {
                "actionCode": "announcement_list:view",
                "actionText": "查看"
              }
            ]
          }
        ],
        "actionList": []
      },
      {
        "id": "personal_center",
        "label": "个人中心",
        "url": "/personal-settings",
        "icon": "user",
        "pcode": "",
        "snumber": 0,
        "serialNumber": 0,
        "menuCodePath": "personal_settings",
        "menuNamePath": "个人中心",
        "children": null,
        "actionList": [
          {
            "actionCode": "personal_center:view",
            "actionText": "查看个人资料"
          }
        ]
      },
      {
        "id": "security_center",
        "label": "安全中心",
        "url": "/security-settings",
        "icon": "lock",
        "pcode": "",
        "snumber": 0,
        "serialNumber": 0,
        "menuCodePath": "security_settings",
        "menuNamePath": "安全中心",
        "children": null,
        "actionList": [
          {
            "actionCode": "security_center:view",
            "actionText": "修改密码"
          }
        ]
      }
    ],
  },

]

export const initCheckedButtons = [
  {
    "actionCode": "tongzhi_manage:add",
    "actionText": "添加"
  },
  {
    "actionCode": "tongzhi_manage:update",
    "actionText": "修改"
  },
  {
    "actionCode": "tongzhi_manage:delete",
    "actionText": "删除"
  },
  {
    "actionCode": "announcement_manage:update",
    "actionText": "修改"
  },
  {
    "actionCode": "announcement_manage:delete",
    "actionText": "删除"
  }
]

export const initCheckedMenus = [
  {
    "id": "tongzhi_manage",
    "label": "通知管理",
    "url": "/system/menu",
    "icon": "",
    "pcode": "sys_manage",
    "snumber": 0,
    "serialNumber": 0,
    "menuCodePath": "sys_manage/sys_menu",
    "menuNamePath": "系统管理/菜单管理",
    "children": [
      {
        "id": "tongzhi_manage:add",
        "label": "添加",
        "hidden": true
      },
      {
        "id": "tongzhi_manage:update",
        "label": "修改",
        "hidden": true
      },
      {
        "id": "tongzhi_manage:delete",
        "label": "删除",
        "hidden": true
      }
    ],
    "actionList": [
      {
        "actionCode": "tongzhi_manage:add",
        "actionText": "添加"
      },
      {
        "actionCode": "tongzhi_manage:update",
        "actionText": "修改"
      },
      {
        "actionCode": "tongzhi_manage:delete",
        "actionText": "删除"
      }
    ]
  }
]